<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>图片展示页</title>
</head>
<body>
	<table border="1">
		<tr>
			<td>id</td>
			<td>用户名</td>
			<td>图片描述</td>
			<td>图片路径</td>
		</tr>
		<c:forEach items="${infoList}" var="imgInfo">
			<tr>
				<td>${imgInfo.pid}</td>
				<td>${imgInfo.username }</td>
				<td>${imgInfo.description }</td>
				<td><img src="/img/${imgInfo.imgPath}" width="70px"
					height="70px" /></td>
				<td><input type="hidden" name="${imgInfo.uid }"></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>